home *** CD-ROM | disk | FTP | other *** search
- Path: sdl-slip.dres.dnd.ca!sletkemn
- From: sletkemn@dres.dnd.ca (Steve Letkeman)
- Newsgroups: comp.lang.c++
- Subject: msvc and hardware interrupts
- Date: Thu, 4 Jan 1996 00:29:28 GMT
- Organization: Vehicle Concepts Group
- Message-ID: <sletkemn.92.30EB1F68@dres.dnd.ca>
- NNTP-Posting-Host: sdl-slip.dres.dnd.ca
- X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]
-
-
- Someone help me!
-
- here's a code fragment
-
- #include <dos.h>
-
- void _cdecl _interrupt _far myinthand()
- {
- }
-
- void main(void)
- {
- _dos_setvect ( 15, myinthand);
- }
-
- that will compile under MS-DOS executable but not under a windows exe even
- though the setvect command is win compatible. I get a
- error c2065 '_dos_setvect': undeclared identifier
- I'm using VC++ 1.51
- Someone tell me I'm missing something easy!
-
- Thanks
- Steve
-
-
-
-
-
-